/**
 * @param {number[]} capacity
 * @param {number[]} rocks
 * @param {number} additionalRocks
 * @return {number}
 */
var maximumBags = function(capacity, rocks, additionalRocks) {

};
let capacity = [2,3,4,5], rocks = [1,2,4,4], additionalRocks = 2;
console.log(maximumBags(capacity, rocks, additionalRocks));
capacity = [10,2,2], rocks = [2,2,0], additionalRocks = 100;
console.log(maximumBags(capacity, rocks, additionalRocks));
